﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ChatBox.Utilities;

namespace ChatBox.Models
{
  public class UserInfo : NotificationObject
  {
    #region Constructors

    public UserInfo()
      : base()
    {
    }

    #endregion

    #region Public Properties

    public String Name
    {
      get
      {
        return _name;
      }
      set
      {
        if ( _name != value )
        {
          _name = value;

          this.OnPropertyChanged( "Name" );
        }
      }
    }

    public String Mode
    {
      get
      {
        return _mode;
      }
      set
      {
        if ( _mode != value )
        {
          _mode = value;

          this.OnPropertyChanged( "Mode" );
        }
      }
    }

    #endregion

    #region Private Variables

    private String _name = String.Empty;

    private String _mode = String.Empty;

    #endregion
  }
}
